using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class PickupController:MonoBehaviour {

	public bool canPickup=true;

	void OnInteraction() {
		if(!canPickup) return;
		PlayerController.instance.AddToInventory(gameObject);
	}

}
